Skip to content

feat(mongodb-constants): add $createObjectId expression operator COMPASS-9597#796

Merged
ivandevp merged 2 commits into
mainfrom
COMPASS-9597
Jun 24, 2026
Merged

feat(mongodb-constants): add $createObjectId expression operator COMPASS-9597#796
ivandevp merged 2 commits into
mainfrom
COMPASS-9597

Conversation

@ivandevp

@ivandevp ivandevp commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds $createObjectId, a new aggregation expression operator introduced in MongoDB 8.3 (SERVER-106452).

Jira: COMPASS-9597

Open Questions

None.

Checklist

…ASS-9597

Adds $createObjectId introduced in MongoDB 8.3 (SERVER-106452). Generates a new
random ObjectId per document — the ObjectId equivalent of $rand/$createUUID,
usable in regular aggregation pipelines.
@ivandevp ivandevp self-assigned this Jun 23, 2026
@ivandevp ivandevp merged commit dbcc4e5 into main Jun 24, 2026
10 of 11 checks passed
@ivandevp ivandevp deleted the COMPASS-9597 branch June 24, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants